package com.wangpeng.bms.utils;

/**
 * @author Smile
 * @date 2022/10/16 17:28
 */
public class UUIDUtil {
    static  SnowFlow snowFlow = new SnowFlow(1, 1, 1);

    public  static Long  getUUID(){
        return snowFlow.nextId();
    }

    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            System.out.println(snowFlow.nextId());
        }
    }
}
